$().ready(function () {
	if ($('#voiceSearchLoading').className == 'hidden' || $("#voiceResultsHeadline").html() == "There were no close matches") {
		sndMsg();
	} else {
		setTimeout('sndMsg()', 20000);
	}
});

function sndMsg(){	
	$.pm({
		target: window.parent,
		type: 'info', 
		data:{ps:2}, 
		url: document.referrer
	}); 
}